Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(conn net.Conn, handler ServerHandler, logger logrus.FieldLogger) Client
type DefaultHandler ¶
type DefaultHandler struct {
// contains filtered or unexported fields
}
func NewDefaultHandler ¶
func NewDefaultHandler(profileManager profile.Manager) *DefaultHandler
func (*DefaultHandler) NeedCertificate ¶
func (ch *DefaultHandler) NeedCertificate(w io.Writer, _ string) (ServerHandlerCallback, error)
func (*DefaultHandler) SignRSA ¶
func (ch *DefaultHandler) SignRSA(w io.Writer, data string) (ServerHandlerCallback, error)
type Server ¶ added in v0.7.0
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶ added in v0.7.0
func NewServer(handler ServerHandler, bindProtocol, bindAddress string, logger logrus.FieldLogger) Server
func (*Server) ManagementConfigValue ¶ added in v0.7.0
type ServerHandler ¶ added in v0.7.0
type ServerHandler interface { NeedCertificate(io.Writer, string) (ServerHandlerCallback, error) SignRSA(io.Writer, string) (ServerHandlerCallback, error) }
type ServerHandlerCallback ¶ added in v0.7.0
type ServerHandlerCallback func(io.Writer, string) (ServerHandlerCallback, error)
func SuccessCallback ¶ added in v0.7.0
func SuccessCallback(_ io.Writer, data string) (ServerHandlerCallback, error)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.