Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAuthStatus = status.Error(invalid, "invalid api key")
Functions ¶
func New ¶
func New(reader repository.Reader, writer repository.Writer, logger *logrus.Logger, opts ...Option) *grpc.Server
func Recovery ¶
func Recovery(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (_ interface{}, err error)
func WithSecure ¶
func WithSecure(conf *config)
Types ¶
type ApiKeyManagements ¶ added in v0.0.4
type ApiKeyManagements struct {
// contains filtered or unexported fields
}
func (*ApiKeyManagements) Exists ¶ added in v0.0.4
func (apiKey *ApiKeyManagements) Exists(value string) bool
Click to show internal directories.
Click to hide internal directories.