Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶ added in v0.0.21
func Middleware()
func Start ¶
func Start(ctx context.Context, addr string, conf *config.Server, pub eventapi.Publisher, store domain.Store, svc domain.UserService) error
Start starts the server with specified store.
func UserIDFromContext ¶ added in v0.0.21
Types ¶
type AuthHandler ¶ added in v0.0.21
type AuthHandler struct {
// contains filtered or unexported fields
}
type CreateTokenRequest ¶ added in v0.0.21
type CreateTokenRequest struct {
Name string `json:"name"`
}
Click to show internal directories.
Click to hide internal directories.