Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ConfigCtxKey is the key for the config in the context. ConfigCtxKey = ContextKey("config") // SessionCtxKey is the key for the session in the context. SessionCtxKey = ContextKey("session") // HooksCtxKey is the key for the git hooks in the context. HooksCtxKey = ContextKey("hooks") )
Functions ¶
func Middleware ¶ added in v0.5.0
func Middleware(cfg *config.Config) wish.Middleware
Middleware is the Soft Serve middleware that handles SSH commands.
Types ¶
type ContextKey ¶ added in v0.4.0
type ContextKey string
ContextKey is a type that can be used as a key in a context.
func (ContextKey) String ¶ added in v0.4.0
func (c ContextKey) String() string
String returns the string representation of the ContextKey.
Click to show internal directories.
Click to hide internal directories.