Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitialiseNetworks ¶
Types ¶
type APIConfig ¶
type APIConfig struct { GRPC GRPCConfig REST RESTConfig GraphQL GraphQLConfig }
type ConsoleConfig ¶
type GRPCConfig ¶
type GraphQLConfig ¶
type GraphQLConfig struct {
Hosts []string
}
type Network ¶
type Network struct { Name string Level encoding.LogLevel TokenExpiry encoding.Duration Port int Host string API APIConfig Console ConsoleConfig // TO REMOVE Once the tools use the new API.GRPC Nodes GRPCConfig }
type NetworkAlreadyExistsError ¶ added in v0.9.2
type NetworkAlreadyExistsError struct {
Name string
}
func NewNetworkAlreadyExistsError ¶ added in v0.9.2
func NewNetworkAlreadyExistsError(n string) NetworkAlreadyExistsError
func (NetworkAlreadyExistsError) Error ¶ added in v0.9.2
func (e NetworkAlreadyExistsError) Error() string
type NetworkDoesNotExistError ¶ added in v0.9.2
type NetworkDoesNotExistError struct {
Name string
}
func NewNetworkDoesNotExistError ¶ added in v0.9.2
func NewNetworkDoesNotExistError(n string) NetworkDoesNotExistError
func (NetworkDoesNotExistError) Error ¶ added in v0.9.2
func (e NetworkDoesNotExistError) Error() string
type RESTConfig ¶
type RESTConfig struct {
Hosts []string
}
Click to show internal directories.
Click to hide internal directories.