Documentation
¶
Index ¶
Constants ¶
View Source
const Prefix = "/v1alpha1"
Variables ¶
View Source
var ( ErrDeviceNotRegistered = errors.New("device not found in account and there was no share code") )
Functions ¶
Types ¶
type API ¶
type API struct {
service.Accounts
password.PasswordGenerator
service.UsernameGenerator
}
type OpenAPIHandler ¶
type OpenAPIHandler struct {
OpenAPI *openapi3.T
*zerolog.Logger
// contains filtered or unexported fields
}
func NewOpenAPIHandler ¶
func NewOpenAPIHandler(ctx context.Context, openAPI *openapi3.T) *OpenAPIHandler
func (*OpenAPIHandler) ServeOpenAPI ¶
func (h *OpenAPIHandler) ServeOpenAPI(ctx echo.Context) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.