Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API defines the API server. It is primarily a REST interface through which service.Service can be accessed.
func New ¶
func New(logger *zap.SugaredLogger, opts CoreOpts) (*API, error)
New creates a new API server - start it using Run(). Returns a callback to close connection
Click to show internal directories.
Click to hide internal directories.