Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonRPCUser ¶
type JsonRPCUser struct {
Id string `json:"id"`
Name string `json:"name"`
Age int `json:"age"`
Birth time.Time `json:"time"`
}
func (JsonRPCUser) String ¶
func (u JsonRPCUser) String() string
type UserProvider ¶
type UserProvider struct {
GetUser func(ctx context.Context, req []interface{}) (*JsonRPCUser, error)
}
func (*UserProvider) Reference ¶
func (u *UserProvider) Reference() string
Click to show internal directories.
Click to hide internal directories.