Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server interface { SetupEncryption(cert *meta.TLSCertificate) SetupAuth(pb *rsa.PublicKey, accessRoles map[string][]model.UserRole) // Must be configured before REST & gRPC sub servers! SetupREST(router chi.Router) // Setup REST sub server configuration SetupGRPC(fn func(srv *grpc.Server)) // Setup gRPC sub server configuration Start() Shutdown() }
Click to show internal directories.
Click to hide internal directories.