pkg

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL