Documentation ¶
Index ¶
- type Default
- func (c *Default) BeforeActivation(b freedom.BeforeActivation)
- func (c *Default) Custom() freedom.Result
- func (c *Default) CustomPath(id int64, uid int, username string) freedom.Result
- func (c *Default) DeleteHello() freedom.Result
- func (c *Default) Get() freedom.Result
- func (c *Default) GetAgeByUserBy(age int, user string) freedom.Result
- func (c *Default) GetHello() string
- func (c *Default) GetUserBy(username string) freedom.Result
- func (c *Default) PostFile() freedom.Result
- func (c *Default) PostForm() freedom.Result
- func (c *Default) PostHello() freedom.Result
- func (c *Default) PutHello() freedom.Result
- type DefaultV2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Default ¶
Default .
func (*Default) BeforeActivation ¶
func (c *Default) BeforeActivation(b freedom.BeforeActivation)
BeforeActivation .
func (*Default) CustomPath ¶ added in v1.9.3
CustomPath handles the GET: /customPath/{id:int64}/{uid:int}/{username:string} route.
func (*Default) DeleteHello ¶ added in v1.9.3
PutHello handles the DELETE: /hello route.
func (*Default) GetAgeByUserBy ¶
GetAgeByUserBy handles the GET: /age/{age:int}/user/{user:string} route.
Click to show internal directories.
Click to hide internal directories.