Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleAPI ¶ added in v1.2.0
type BundleAPI struct {
Router *mux.Router
Store *store.Datastore
// contains filtered or unexported fields
}
API provides a struct to wrap the api around
func Setup ¶
func Setup(ctx context.Context, cfg *config.Config, router *mux.Router, store *store.Datastore, stateMachineBundleAPI *application.StateMachineBundleAPI, authMiddleware auth.Middleware) *BundleAPI
Setup function sets up the api and returns an api
Click to show internal directories.
Click to hide internal directories.