Documentation ¶
Index ¶
- type Chain
- type ChainStatus
- type Connection
- func (c *Connection) AddChain(cc Chain) error
- func (c *Connection) ChainStatus(chainName string) (ChainStatus, bool, error)
- func (c *Connection) Chains() ([]Chain, error)
- func (c *Connection) DeleteChainStatus(chainName string) error
- func (c *Connection) HasChain(name string) (bool, error)
- func (c *Connection) HasChainStatus(chainName string) (bool, error)
- func (c *Connection) RemoveChain(cc Chain) error
- func (c *Connection) SetChainStatus(chainName string, status ChainStatus) error
- type Instance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type ChainStatus ¶
type ChainStatus uint
func (ChainStatus) MarshalBinary ¶
func (cs ChainStatus) MarshalBinary() (data []byte, err error)
func (ChainStatus) String ¶
func (i ChainStatus) String() string
func (*ChainStatus) UnmarshalBinary ¶
func (cs *ChainStatus) UnmarshalBinary(data []byte) error
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection(host string) (*Connection, error)
func (*Connection) AddChain ¶
func (c *Connection) AddChain(cc Chain) error
func (*Connection) ChainStatus ¶
func (c *Connection) ChainStatus(chainName string) (ChainStatus, bool, error)
func (*Connection) Chains ¶
func (c *Connection) Chains() ([]Chain, error)
func (*Connection) DeleteChainStatus ¶
func (c *Connection) DeleteChainStatus(chainName string) error
func (*Connection) HasChainStatus ¶
func (c *Connection) HasChainStatus(chainName string) (bool, error)
func (*Connection) RemoveChain ¶
func (c *Connection) RemoveChain(cc Chain) error
func (*Connection) SetChainStatus ¶
func (c *Connection) SetChainStatus(chainName string, status ChainStatus) error
Click to show internal directories.
Click to hide internal directories.