Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticationMiddleware ¶
func AuthenticationMiddleware(authc auth.AuthenticationManager) restful.FilterFunction
Types ¶
type APIDependencies ¶
type StoreOptions ¶
type StoreOptions struct { Listen string `json:"listen,omitempty"` Mongo *mongo.Options `json:"mongo,omitempty"` Mysql *database.Options `json:"mysql,omitempty"` Sync *models.SyncOptions `json:"sync,omitempty"` }
func DefaultOptions ¶
func DefaultOptions() *StoreOptions
type StoreServer ¶
type StoreServer struct {
Options *StoreOptions
}
func (*StoreServer) SetupAPI ¶
func (s *StoreServer) SetupAPI(ctx context.Context, deps APIDependencies) (http.Handler, error)
Click to show internal directories.
Click to hide internal directories.