Lunny Xiao
351679f9b5
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #158 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
14 lines
471 B
Go
14 lines
471 B
Go
// Copyright 2020 The goftp Authors. All rights reserved.
|
|
// Use of this source code is governed by a MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package server
|
|
|
|
// Context represents a context the driver may want to know
|
|
type Context struct {
|
|
Sess *Session
|
|
Cmd string // request command on this request
|
|
Param string // request param on this request
|
|
Data map[string]interface{} // share data between middlewares
|
|
}
|