Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JsonResponse ¶
type LogHandler ¶
type LogHandler struct {
// contains filtered or unexported fields
}
func StructuredLogHandler ¶
func StructuredLogHandler(writer *os.File, appName string) *LogHandler
StructuredLogHandler returns a new LogHandler
type User ¶
type User struct { Id string `json:"id"` Username string `json:"username"` Email string `json:"email"` Password string `json:"password,omitempty"` Roles []string `json:"roles"` Xp int32 `json:"xp"` IsBanned bool `json:"is_banned"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
func DecodeProtoUser ¶
Click to show internal directories.
Click to hide internal directories.