Documentation ¶
Index ¶
- type Default
- func (c *Default) BeforeActivation(b freedom.BeforeActivation)
- func (c *Default) CustomHello() 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) CustomHello ¶
CustomHello handles the POST: /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.