Documentation
¶
Index ¶
- Constants
- func NewSRPCForgeDaemonServiceHandler(impl SRPCForgeDaemonServiceServer, serviceID string) srpc.Handler
- func SRPCRegisterForgeDaemonService(mux srpc.Mux, impl SRPCForgeDaemonServiceServer) error
- type API
- type Config
- func (m *Config) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Config) CloneVT() *Config
- func (this *Config) EqualMessageVT(thatMsg any) bool
- func (this *Config) EqualVT(that *Config) bool
- func (x *Config) MarshalJSON() ([]byte, error)
- func (x *Config) MarshalProtoJSON(s *json.MarshalState)
- func (x *Config) MarshalProtoText() string
- func (m *Config) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Config) MarshalToVT(dAtA []byte) (int, error)
- func (m *Config) MarshalVT() (dAtA []byte, err error)
- func (*Config) ProtoMessage()
- func (x *Config) Reset()
- func (m *Config) SizeVT() (n int)
- func (x *Config) String() string
- func (x *Config) UnmarshalJSON(b []byte) error
- func (x *Config) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Config) UnmarshalVT(dAtA []byte) error
- type ForgeDaemonClient
- type SRPCForgeDaemonServiceClient
- type SRPCForgeDaemonServiceHandler
- type SRPCForgeDaemonServiceServer
Constants ¶
const SRPCForgeDaemonServiceServiceID = "forge.api.ForgeDaemonService"
Variables ¶
This section is empty.
Functions ¶
func NewSRPCForgeDaemonServiceHandler ¶
func NewSRPCForgeDaemonServiceHandler(impl SRPCForgeDaemonServiceServer, serviceID string) srpc.Handler
NewSRPCForgeDaemonServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: forge.api.ForgeDaemonService
func SRPCRegisterForgeDaemonService ¶
func SRPCRegisterForgeDaemonService(mux srpc.Mux, impl SRPCForgeDaemonServiceServer) error
SRPCRegisterForgeDaemonService registers the implementation with the mux. Uses the default serviceID: forge.api.ForgeDaemonService
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API implements the GRPC API.
func (*API) RegisterAsSRPCServer ¶
RegisterAsSRPCServer registers the API to the SRPC Mux.
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is forge api configuration.
func (*Config) CloneMessageVT ¶
func (m *Config) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Config) EqualMessageVT ¶
func (*Config) MarshalJSON ¶
MarshalJSON marshals the Config to JSON.
func (*Config) MarshalProtoJSON ¶
func (x *Config) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Config message to JSON.
func (*Config) MarshalProtoText ¶
func (*Config) MarshalToSizedBufferVT ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Config from JSON.
func (*Config) UnmarshalProtoJSON ¶
func (x *Config) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Config message from JSON.
func (*Config) UnmarshalVT ¶
type ForgeDaemonClient ¶
type ForgeDaemonClient interface {
SRPCForgeDaemonServiceClient
bifrost_api.BifrostAPIClient
hydra_api.SRPCHydraDaemonServiceClient
}
ForgeDaemonClient has all services provided by the daemon.
func NewForgeDaemonClient ¶
func NewForgeDaemonClient(cc srpc.Client) ForgeDaemonClient
NewForgeDaemonClient constructs a new forge daemon client.
type SRPCForgeDaemonServiceClient ¶
type SRPCForgeDaemonServiceClient interface {
// SRPCClient returns the underlying SRPC client.
SRPCClient() srpc.Client
}
func NewSRPCForgeDaemonServiceClient ¶
func NewSRPCForgeDaemonServiceClient(cc srpc.Client) SRPCForgeDaemonServiceClient
func NewSRPCForgeDaemonServiceClientWithServiceID ¶
func NewSRPCForgeDaemonServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCForgeDaemonServiceClient
type SRPCForgeDaemonServiceHandler ¶
type SRPCForgeDaemonServiceHandler struct {
// contains filtered or unexported fields
}
func (SRPCForgeDaemonServiceHandler) GetMethodIDs ¶
func (SRPCForgeDaemonServiceHandler) GetMethodIDs() []string
func (*SRPCForgeDaemonServiceHandler) GetServiceID ¶
func (d *SRPCForgeDaemonServiceHandler) GetServiceID() string
func (*SRPCForgeDaemonServiceHandler) InvokeMethod ¶
type SRPCForgeDaemonServiceServer ¶
type SRPCForgeDaemonServiceServer interface{}