Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.6.2
type Client interface { // Subscribe subscribes the client to indications Subscribe(ctx context.Context, sub subscription.Subscription, ch chan<- indication.Indication) error }
Client is an E2 client
type Config ¶ added in v0.6.2
type Config struct { // AppID is the application identifier AppID app.ID // InstanceID is the application instance identifier InstanceID app.InstanceID // SubscriptionService is the subscription service configuration SubscriptionService ServiceConfig }
Config is an E2 client configuration
type ServiceConfig ¶ added in v0.6.2
type ServiceConfig struct { // Host is the service host Host string // Port is the service port Port int }
ServiceConfig is an E2 service configuration
func (ServiceConfig) GetHost ¶ added in v0.6.2
func (c ServiceConfig) GetHost() string
GetHost gets the service host
func (ServiceConfig) GetPort ¶ added in v0.6.2
func (c ServiceConfig) GetPort() int
GetPort gets the service port
Click to show internal directories.
Click to hide internal directories.