Documentation ¶
Index ¶
- type Default
- func (m *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) PostHello() freedom.Result
- func (c *Default) PutHello() freedom.Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Default ¶
func (*Default) BeforeActivation ¶
func (m *Default) BeforeActivation(b freedom.BeforeActivation)
func (*Default) CustomHello ¶
PostHello 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.