restapi

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2021 License: BSD-3-Clause Imports: 23 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRestapi        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRestapi          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRestapi = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Addr                 string   `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Port                 int32    `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Config) Descriptor

func (*Config) Descriptor() ([]byte, []int)

func (*Config) GetAddr

func (m *Config) GetAddr() string

func (*Config) GetPort

func (m *Config) GetPort() int32

func (*Config) Marshal

func (m *Config) Marshal() (dAtA []byte, err error)

func (*Config) MarshalTo

func (m *Config) MarshalTo(dAtA []byte) (int, error)

func (*Config) MarshalToSizedBuffer

func (m *Config) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) Size

func (m *Config) Size() (n int)

func (*Config) String

func (m *Config) String() string

func (*Config) Unmarshal

func (m *Config) Unmarshal(dAtA []byte) error

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_MessageName

func (*Config) XXX_MessageName() string

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

func (m *Config) XXX_Unmarshal(b []byte) error

type Frozen

type Frozen struct {
	Frozen bool `json:"frozen"`
}

type GraphJson

type GraphJson struct {
	Nodes []*cpb.MutationNode `json:"nodes"`
	Edges []*cpb.MutationEdge `json:"edges"`
}

type RestAPI

type RestAPI struct {
	// contains filtered or unexported fields
}

func (*RestAPI) ConfigURL

func (r *RestAPI) ConfigURL() string

func (*RestAPI) Entry

func (r *RestAPI) Entry()

func (*RestAPI) Init

func (r *RestAPI) Init(api types.ModuleAPIClient)

func (*RestAPI) Name

func (r *RestAPI) Name() string

func (*RestAPI) NewConfig

func (r *RestAPI) NewConfig() proto.Message

func (*RestAPI) Stop

func (r *RestAPI) Stop()

func (*RestAPI) UpdateConfig

func (r *RestAPI) UpdateConfig(cfg proto.Message) (e error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL