Documentation ¶
Overview ¶
Package sequence implements github.com/the-anna-project/clg.Service and provides functionality to read the information sequence stored under a provided information ID. The provided information ID in fact is an information peer ID. The associated information sequence is stored as peer value within the information peer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(config ServiceConfig) (*Service, error)
NewService creates a new configured CLG service.
type ServiceConfig ¶
type ServiceConfig struct { // Dependencies. IDService id.Service PeerCollection *peer.Collection }
ServiceConfig represents the configuration used to create a new CLG service.
func DefaultServiceConfig ¶
func DefaultServiceConfig() ServiceConfig
DefaultServiceConfig provides a default configuration to create a new CLG service by best effort.
Click to show internal directories.
Click to hide internal directories.