Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllRequestAction = []RequestAction{ RequestActionRead, }
View Source
var AllRequestObj = []RequestObj{ RequestObjUser, }
View Source
var AllRoles = []Roles{ RolesAdmin, RolesManager, }
Functions ¶
This section is empty.
Types ¶
type HealthResponse ¶
type HealthResponse struct {
Message string `json:"message"`
}
type RequestAction ¶
type RequestAction string
const (
RequestActionRead RequestAction = "READ"
)
func (RequestAction) IsValid ¶
func (e RequestAction) IsValid() bool
func (RequestAction) MarshalGQL ¶
func (e RequestAction) MarshalGQL(w io.Writer)
func (RequestAction) String ¶
func (e RequestAction) String() string
func (*RequestAction) UnmarshalGQL ¶
func (e *RequestAction) UnmarshalGQL(v interface{}) error
type RequestObj ¶
type RequestObj string
const (
RequestObjUser RequestObj = "USER"
)
func (RequestObj) IsValid ¶
func (e RequestObj) IsValid() bool
func (RequestObj) MarshalGQL ¶
func (e RequestObj) MarshalGQL(w io.Writer)
func (RequestObj) String ¶
func (e RequestObj) String() string
func (*RequestObj) UnmarshalGQL ¶
func (e *RequestObj) UnmarshalGQL(v interface{}) error
type RoleRequest ¶
type RoleRequest struct {
Role Roles `json:"role"`
}
type TokenResponse ¶
type TokenResponse struct {
AccessToken string `json:"accessToken"`
}
Click to show internal directories.
Click to hide internal directories.