Documentation ¶
Index ¶
- Constants
- func ContextWithOwner(ctx context.Context, address sdk.Address) context.Context
- func NewServer(ctx context.Context, endpoint string, certs []tls.Certificate, ...) error
- func OwnerFromCtx(ctx context.Context) sdk.Address
- func QueryClientFromCtx(ctx context.Context) ctypes.QueryClient
- type ContextKey
Constants ¶
View Source
const ( ContextKeyQueryClient = ContextKey("query-client") ContextKeyOwner = ContextKey("owner") )
Variables ¶
This section is empty.
Functions ¶
func ContextWithOwner ¶
func NewServer ¶
func NewServer(ctx context.Context, endpoint string, certs []tls.Certificate, client provider.StatusClient) error
func QueryClientFromCtx ¶
func QueryClientFromCtx(ctx context.Context) ctypes.QueryClient
Types ¶
type ContextKey ¶
type ContextKey string
Click to show internal directories.
Click to hide internal directories.