contactsystem

package
v0.0.0-...-2bc4271 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package contactsystem is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterContactSystemServiceHandler

func RegisterContactSystemServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterContactSystemServiceHandler registers the http handlers for service ContactSystemService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterContactSystemServiceHandlerClient

func RegisterContactSystemServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ContactSystemServiceClient) error

RegisterContactSystemServiceHandlerClient registers the http handlers for service ContactSystemService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ContactSystemServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ContactSystemServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ContactSystemServiceClient" to call the correct interceptors.

func RegisterContactSystemServiceHandlerFromEndpoint

func RegisterContactSystemServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterContactSystemServiceHandlerFromEndpoint is same as RegisterContactSystemServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterContactSystemServiceHandlerServer

func RegisterContactSystemServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ContactSystemServiceServer) error

RegisterContactSystemServiceHandlerServer registers the http handlers for service ContactSystemService to "mux". UnaryRPC :call ContactSystemServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterContactSystemServiceServer

func RegisterContactSystemServiceServer(s *grpc.Server, srv ContactSystemServiceServer)

Types

type ContactSystem

type ContactSystem struct {
	ContactSystemCode    string       `protobuf:"bytes,1,opt,name=contact_system_code,json=contactSystemCode,proto3" json:"contact_system_code,omitempty"`
	Description          string       `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Details              string       `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
	Status               string       `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	Audit                *audit.Audit `protobuf:"bytes,5,opt,name=audit,proto3" json:"audit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ContactSystem) Descriptor

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

func (*ContactSystem) GetAudit

func (m *ContactSystem) GetAudit() *audit.Audit

func (*ContactSystem) GetContactSystemCode

func (m *ContactSystem) GetContactSystemCode() string

func (*ContactSystem) GetDescription

func (m *ContactSystem) GetDescription() string

func (*ContactSystem) GetDetails

func (m *ContactSystem) GetDetails() string

func (*ContactSystem) GetStatus

func (m *ContactSystem) GetStatus() string

func (*ContactSystem) ProtoMessage

func (*ContactSystem) ProtoMessage()

func (*ContactSystem) Reset

func (m *ContactSystem) Reset()

func (*ContactSystem) String

func (m *ContactSystem) String() string

func (*ContactSystem) XXX_DiscardUnknown

func (m *ContactSystem) XXX_DiscardUnknown()

func (*ContactSystem) XXX_Marshal

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

func (*ContactSystem) XXX_Merge

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

func (*ContactSystem) XXX_Size

func (m *ContactSystem) XXX_Size() int

func (*ContactSystem) XXX_Unmarshal

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

type ContactSystemServiceClient

ContactSystemServiceClient is the client API for ContactSystemService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewContactSystemServiceClient

func NewContactSystemServiceClient(cc *grpc.ClientConn) ContactSystemServiceClient

type DoDeleteContactSystemRequest

type DoDeleteContactSystemRequest struct {
	ContactSystemCode    string   `protobuf:"bytes,1,opt,name=contact_system_code,json=contactSystemCode,proto3" json:"contact_system_code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DoDeleteContactSystemRequest) Descriptor

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

func (*DoDeleteContactSystemRequest) GetContactSystemCode

func (m *DoDeleteContactSystemRequest) GetContactSystemCode() string

func (*DoDeleteContactSystemRequest) ProtoMessage

func (*DoDeleteContactSystemRequest) ProtoMessage()

func (*DoDeleteContactSystemRequest) Reset

func (m *DoDeleteContactSystemRequest) Reset()

func (*DoDeleteContactSystemRequest) String

func (*DoDeleteContactSystemRequest) XXX_DiscardUnknown

func (m *DoDeleteContactSystemRequest) XXX_DiscardUnknown()

func (*DoDeleteContactSystemRequest) XXX_Marshal

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

func (*DoDeleteContactSystemRequest) XXX_Merge

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

func (*DoDeleteContactSystemRequest) XXX_Size

func (m *DoDeleteContactSystemRequest) XXX_Size() int

func (*DoDeleteContactSystemRequest) XXX_Unmarshal

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

type DoDeleteContactSystemResponse

type DoDeleteContactSystemResponse struct {
	Result               bool             `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	Message              *message.Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*DoDeleteContactSystemResponse) Descriptor

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

func (*DoDeleteContactSystemResponse) GetMessage

func (*DoDeleteContactSystemResponse) GetResult

func (m *DoDeleteContactSystemResponse) GetResult() bool

func (*DoDeleteContactSystemResponse) ProtoMessage

func (*DoDeleteContactSystemResponse) ProtoMessage()

func (*DoDeleteContactSystemResponse) Reset

func (m *DoDeleteContactSystemResponse) Reset()

func (*DoDeleteContactSystemResponse) String

func (*DoDeleteContactSystemResponse) XXX_DiscardUnknown

func (m *DoDeleteContactSystemResponse) XXX_DiscardUnknown()

func (*DoDeleteContactSystemResponse) XXX_Marshal

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

func (*DoDeleteContactSystemResponse) XXX_Merge

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

func (*DoDeleteContactSystemResponse) XXX_Size

func (m *DoDeleteContactSystemResponse) XXX_Size() int

func (*DoDeleteContactSystemResponse) XXX_Unmarshal

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

type DoReadAllContactSystemRequest

type DoReadAllContactSystemRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DoReadAllContactSystemRequest) Descriptor

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

func (*DoReadAllContactSystemRequest) ProtoMessage

func (*DoReadAllContactSystemRequest) ProtoMessage()

func (*DoReadAllContactSystemRequest) Reset

func (m *DoReadAllContactSystemRequest) Reset()

func (*DoReadAllContactSystemRequest) String

func (*DoReadAllContactSystemRequest) XXX_DiscardUnknown

func (m *DoReadAllContactSystemRequest) XXX_DiscardUnknown()

func (*DoReadAllContactSystemRequest) XXX_Marshal

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

func (*DoReadAllContactSystemRequest) XXX_Merge

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

func (*DoReadAllContactSystemRequest) XXX_Size

func (m *DoReadAllContactSystemRequest) XXX_Size() int

func (*DoReadAllContactSystemRequest) XXX_Unmarshal

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

type DoReadAllContactSystemResponse

type DoReadAllContactSystemResponse struct {
	ContactSystems       []*ContactSystem `protobuf:"bytes,1,rep,name=contact_systems,json=contactSystems,proto3" json:"contact_systems,omitempty"`
	Message              *message.Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*DoReadAllContactSystemResponse) Descriptor

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

func (*DoReadAllContactSystemResponse) GetContactSystems

func (m *DoReadAllContactSystemResponse) GetContactSystems() []*ContactSystem

func (*DoReadAllContactSystemResponse) GetMessage

func (*DoReadAllContactSystemResponse) ProtoMessage

func (*DoReadAllContactSystemResponse) ProtoMessage()

func (*DoReadAllContactSystemResponse) Reset

func (m *DoReadAllContactSystemResponse) Reset()

func (*DoReadAllContactSystemResponse) String

func (*DoReadAllContactSystemResponse) XXX_DiscardUnknown

func (m *DoReadAllContactSystemResponse) XXX_DiscardUnknown()

func (*DoReadAllContactSystemResponse) XXX_Marshal

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

func (*DoReadAllContactSystemResponse) XXX_Merge

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

func (*DoReadAllContactSystemResponse) XXX_Size

func (m *DoReadAllContactSystemResponse) XXX_Size() int

func (*DoReadAllContactSystemResponse) XXX_Unmarshal

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

type DoReadContactSystemRequest

type DoReadContactSystemRequest struct {
	ContactSystemCode    string   `protobuf:"bytes,1,opt,name=contact_system_code,json=contactSystemCode,proto3" json:"contact_system_code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DoReadContactSystemRequest) Descriptor

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

func (*DoReadContactSystemRequest) GetContactSystemCode

func (m *DoReadContactSystemRequest) GetContactSystemCode() string

func (*DoReadContactSystemRequest) ProtoMessage

func (*DoReadContactSystemRequest) ProtoMessage()

func (*DoReadContactSystemRequest) Reset

func (m *DoReadContactSystemRequest) Reset()

func (*DoReadContactSystemRequest) String

func (m *DoReadContactSystemRequest) String() string

func (*DoReadContactSystemRequest) XXX_DiscardUnknown

func (m *DoReadContactSystemRequest) XXX_DiscardUnknown()

func (*DoReadContactSystemRequest) XXX_Marshal

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

func (*DoReadContactSystemRequest) XXX_Merge

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

func (*DoReadContactSystemRequest) XXX_Size

func (m *DoReadContactSystemRequest) XXX_Size() int

func (*DoReadContactSystemRequest) XXX_Unmarshal

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

type DoReadContactSystemResponse

type DoReadContactSystemResponse struct {
	ContactSystem        *ContactSystem   `protobuf:"bytes,1,opt,name=contact_system,json=contactSystem,proto3" json:"contact_system,omitempty"`
	Message              *message.Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*DoReadContactSystemResponse) Descriptor

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

func (*DoReadContactSystemResponse) GetContactSystem

func (m *DoReadContactSystemResponse) GetContactSystem() *ContactSystem

func (*DoReadContactSystemResponse) GetMessage

func (m *DoReadContactSystemResponse) GetMessage() *message.Message

func (*DoReadContactSystemResponse) ProtoMessage

func (*DoReadContactSystemResponse) ProtoMessage()

func (*DoReadContactSystemResponse) Reset

func (m *DoReadContactSystemResponse) Reset()

func (*DoReadContactSystemResponse) String

func (m *DoReadContactSystemResponse) String() string

func (*DoReadContactSystemResponse) XXX_DiscardUnknown

func (m *DoReadContactSystemResponse) XXX_DiscardUnknown()

func (*DoReadContactSystemResponse) XXX_Marshal

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

func (*DoReadContactSystemResponse) XXX_Merge

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

func (*DoReadContactSystemResponse) XXX_Size

func (m *DoReadContactSystemResponse) XXX_Size() int

func (*DoReadContactSystemResponse) XXX_Unmarshal

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

type DoSaveContactSystemRequest

type DoSaveContactSystemRequest struct {
	ContactSystem        *ContactSystem `protobuf:"bytes,1,opt,name=contact_system,json=contactSystem,proto3" json:"contact_system,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DoSaveContactSystemRequest) Descriptor

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

func (*DoSaveContactSystemRequest) GetContactSystem

func (m *DoSaveContactSystemRequest) GetContactSystem() *ContactSystem

func (*DoSaveContactSystemRequest) ProtoMessage

func (*DoSaveContactSystemRequest) ProtoMessage()

func (*DoSaveContactSystemRequest) Reset

func (m *DoSaveContactSystemRequest) Reset()

func (*DoSaveContactSystemRequest) String

func (m *DoSaveContactSystemRequest) String() string

func (*DoSaveContactSystemRequest) XXX_DiscardUnknown

func (m *DoSaveContactSystemRequest) XXX_DiscardUnknown()

func (*DoSaveContactSystemRequest) XXX_Marshal

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

func (*DoSaveContactSystemRequest) XXX_Merge

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

func (*DoSaveContactSystemRequest) XXX_Size

func (m *DoSaveContactSystemRequest) XXX_Size() int

func (*DoSaveContactSystemRequest) XXX_Unmarshal

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

type DoSaveContactSystemResponse

type DoSaveContactSystemResponse struct {
	Result               bool             `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	Message              *message.Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*DoSaveContactSystemResponse) Descriptor

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

func (*DoSaveContactSystemResponse) GetMessage

func (m *DoSaveContactSystemResponse) GetMessage() *message.Message

func (*DoSaveContactSystemResponse) GetResult

func (m *DoSaveContactSystemResponse) GetResult() bool

func (*DoSaveContactSystemResponse) ProtoMessage

func (*DoSaveContactSystemResponse) ProtoMessage()

func (*DoSaveContactSystemResponse) Reset

func (m *DoSaveContactSystemResponse) Reset()

func (*DoSaveContactSystemResponse) String

func (m *DoSaveContactSystemResponse) String() string

func (*DoSaveContactSystemResponse) XXX_DiscardUnknown

func (m *DoSaveContactSystemResponse) XXX_DiscardUnknown()

func (*DoSaveContactSystemResponse) XXX_Marshal

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

func (*DoSaveContactSystemResponse) XXX_Merge

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

func (*DoSaveContactSystemResponse) XXX_Size

func (m *DoSaveContactSystemResponse) XXX_Size() int

func (*DoSaveContactSystemResponse) XXX_Unmarshal

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

type UnimplementedContactSystemServiceServer

type UnimplementedContactSystemServiceServer struct {
}

UnimplementedContactSystemServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedContactSystemServiceServer) DoDelete

func (*UnimplementedContactSystemServiceServer) DoRead

func (*UnimplementedContactSystemServiceServer) DoReadAll

func (*UnimplementedContactSystemServiceServer) DoSave

Jump to

Keyboard shortcuts

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