Documentation ¶
Index ¶
- Constants
- func CreateHandler(settings configuration.Settings, env *Env) http.Handler
- func GetJwt(signingKey string, tokenExpirationSeconds uint16, userId string) (string, error)
- type DocumentContributorCreate
- type DocumentCreate
- type DocumentListItem
- type DocumentResponse
- type Env
- type TokenResponse
- type UserCreate
- type UserCredentials
- type UserListItem
- type UserResponse
Constants ¶
View Source
const ( MAX_UPLOAD_SIZE = 10 * 1024 * 1024 // 10MB USER_IMAGES_CONTAINER = "user-images" USERS_TOPIC = "users" )
Variables ¶
This section is empty.
Functions ¶
func CreateHandler ¶
func CreateHandler(settings configuration.Settings, env *Env) http.Handler
Types ¶
type DocumentCreate ¶
type DocumentCreate struct {
Name string `json:"name"`
}
type DocumentListItem ¶
type DocumentResponse ¶
type TokenResponse ¶
type UserCreate ¶
type UserCredentials ¶
type UserListItem ¶
Click to show internal directories.
Click to hide internal directories.