Documentation ¶
Index ¶
- Constants
- Variables
- type Passkey
- type Server
- func (s Server) CertsUploadCommand(_ context.Context, c *commands.CertsUploadRequest) (*commands.ErrorReply, error)
- func (s Server) CheckTLS() (grpc.ServerOption, error)
- func (s Server) GetPasskey() string
- func (s Server) GetSecure() bool
- func (s Server) PluginGetCommand(_ context.Context, c *commands.PluginGetRequest) (*commands.ErrorReply, error)
- func (s Server) PluginInstallCommand(ctx context.Context, c *commands.PluginInstallRequest) (*commands.ErrorReply, error)
- func (s Server) PluginListCommand(_ context.Context, _ *commands.PluginListRequest) (*commands.PluginListReply, error)
- func (s Server) PluginMetaCommand(_ context.Context, req *commands.PluginMetaRequest) (*commands.PluginMetaReply, error)
- func (s Server) PluginRemoveCommand(_ context.Context, c *commands.PluginRemoveRequest) (*commands.ErrorReply, error)
- func (s Server) PluginUninstallCommand(ctx context.Context, c *commands.PluginUninstallRequest) (*commands.ErrorReply, error)
- func (s Server) PluginUploadCommand(_ context.Context, c *commands.PluginUploadRequest) (*commands.ErrorReply, error)
- func (s *Server) Run() error
- func (s Server) SendPingCommand(_ context.Context, ping *commands.PingRequest) (*commands.PongReply, error)
- func (s *Server) SetCertificates(cert, key string)
- func (s *Server) Stop()
- type ToolChain
Constants ¶
View Source
const (
MaxMessageSize int = 100 * 1024 * 1024
)
View Source
const (
PasskeyLength int = 32
)
Variables ¶
View Source
var (
NotSecure = errors.New("Need safe gRPC connect")
)
Functions ¶
This section is empty.
Types ¶
type Passkey ¶
type Passkey struct {
// contains filtered or unexported fields
}
func NewPasskey ¶
func PasskeyFromString ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (Server) CertsUploadCommand ¶
func (Server) GetPasskey ¶
func (Server) PluginGetCommand ¶
func (Server) PluginInstallCommand ¶
func (Server) PluginListCommand ¶
func (Server) PluginMetaCommand ¶
func (Server) PluginRemoveCommand ¶
func (Server) PluginUninstallCommand ¶
func (Server) PluginUploadCommand ¶
func (Server) SendPingCommand ¶
func (*Server) SetCertificates ¶
Click to show internal directories.
Click to hide internal directories.