sdk

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

service-sdk-go

Golang SDK for Interchain Services(a.k.a. "iServices"), more about iServices please refer to iServices.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

RegisterInterfaces registers the sdk message type.

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the sdk message type.

Types

type Client

type Client struct {
	types.BaseClient
	Bank    bank.Client
	Token   token.Client
	Service service.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg types.ClientConfig) Client

func (*Client) AppCodec

func (client *Client) AppCodec() codec.Marshaler

func (*Client) Codec

func (client *Client) Codec() *codec.LegacyAmino

func (*Client) Manager

func (client *Client) Manager() types.BaseClient

func (*Client) RegisterModule

func (client *Client) RegisterModule(ms ...types.Module)

func (*Client) SetLogger

func (client *Client) SetLogger(logger log.Logger)

type ServiceClient

type ServiceClient = service.ServiceClient

ServiceClient exports service.ServiceClient

func NewServiceClient

func NewServiceClient(cfg types.ClientConfig) ServiceClient

NewServiceClient contructs a service client

Directories

Path Synopsis
base_modules
auth
Package auth is a reverse proxy.
Package auth is a reverse proxy.
bank
Package bank is a reverse proxy.
Package bank is a reverse proxy.
token
Package token is a reverse proxy.
Package token is a reverse proxy.
Package modules is to warpped the API provided by each module of IRIS-Hub
Package modules is to warpped the API provided by each module of IRIS-Hub
tx
legacy
Package legacy contains a global amino Cdc which is deprecated but still used in several places within the SDK.
Package legacy contains a global amino Cdc which is deprecated but still used in several places within the SDK.
types
Package types defines a custom wrapper for google.protobuf.Any which supports cached values as well as InterfaceRegistry which keeps track of types which can be used with Any for both security and introspection
Package types defines a custom wrapper for google.protobuf.Any which supports cached values as well as InterfaceRegistry which keeps track of types which can be used with Any for both security and introspection
unknownproto
unknownproto implements functionality to "type check" protobuf serialized byte sequences against an expected proto.Message to report:
unknownproto implements functionality to "type check" protobuf serialized byte sequences against an expected proto.Message to report:
hd
nolint:gocritic
Package service is a reverse proxy.
Package service is a reverse proxy.
kv
tx
log
uuid
reference: https://github.com/binance-chain/go-sdk/blob/master/common/uuid/codec.go
reference: https://github.com/binance-chain/go-sdk/blob/master/common/uuid/codec.go

Jump to

Keyboard shortcuts

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