Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AutoRefClient ¶
type AutoRefClient struct {
*Client
}
type AutoRefServer ¶
type AutoRefServer struct { ProcessRequest func(refproto.AutoRefToControllerRequest) error *Server }
func NewAutoRefServer ¶
func NewAutoRefServer() (s *AutoRefServer)
type Client ¶
func (*Client) SendRequest ¶
func (c *Client) SendRequest(request refproto.ControllerToTeamRequest) error
type Server ¶
type Server struct { Clients map[string]*Client TrustedKeys map[string]*rsa.PublicKey ConnectionHandler func(net.Conn) }
func (*Server) LoadTrustedKeys ¶
type TeamClient ¶
type TeamClient struct {
*Client
}
type TeamServer ¶
type TeamServer struct { ProcessTeamRequest func(teamName string, request refproto.TeamToControllerRequest) error AllowedTeamNames []string *Server }
func NewTeamServer ¶
func NewTeamServer() (s *TeamServer)
func (*TeamServer) SendRequest ¶
func (s *TeamServer) SendRequest(teamName string, request refproto.ControllerToTeamRequest) error
Click to show internal directories.
Click to hide internal directories.