Documentation ¶
Overview ¶
Package bertybridge is the main gomobile entrypoint, used to generate iOS and Android frameworks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct {
// contains filtered or unexported fields
}
func (*Bridge) GRPCListenerAddr ¶
func (*Bridge) GRPCWebListenerAddr ¶
func (*Bridge) GRPCWebSocketListenerAddr ¶
func (*Bridge) GetGRPCAddrFor ¶
GetGRPCAddrFor the given protocols, if not found return an empty string
func (*Bridge) NewGRPCClient ¶
NewGRPCClient return client service on success
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) AddGRPCListener ¶
AddGRPCListener create a grpc listener with the given multiaddr if a normal addr is given, it will listen by default on grpcweb (ex: ":0" -> "/ip4/127.0.0.1/tcp/0/grpcweb")
type NativeLoggerDriver ¶
type Protocol ¶
type Protocol struct { *Bridge // contains filtered or unexported fields }
func NewProtocolBridge ¶
func NewProtocolBridge(config *ProtocolConfig) (*Protocol, error)
type ProtocolConfig ¶
type ProtocolConfig struct { *Config // contains filtered or unexported fields }
func NewProtocolConfig ¶
func NewProtocolConfig() *ProtocolConfig
func (*ProtocolConfig) AddSwarmListener ¶ added in v2.35.0
func (pc *ProtocolConfig) AddSwarmListener(laddr string)
func (*ProtocolConfig) LogLevel ¶
func (pc *ProtocolConfig) LogLevel(level string)
func (*ProtocolConfig) LoggerDriver ¶
func (pc *ProtocolConfig) LoggerDriver(dLogger NativeLoggerDriver)
func (*ProtocolConfig) RootDirectory ¶ added in v2.57.1
func (pc *ProtocolConfig) RootDirectory(dir string)
Click to show internal directories.
Click to hide internal directories.