pb

package
v0.0.0-...-564e37f Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Type_name = map[int32]string{
		0: "SHORT_MESSAGE",
	}
	Type_value = map[string]int32{
		"SHORT_MESSAGE": 0,
	}
)

Enum value maps for Type.

View Source
var (
	ProviderType_name = map[int32]string{
		0: "ALIYUN_SMS",
	}
	ProviderType_value = map[string]int32{
		"ALIYUN_SMS": 0,
	}
)

Enum value maps for ProviderType.

View Source
var File_channel_proto protoreflect.FileDescriptor

Functions

func NotifyChannelServiceClientType

func NotifyChannelServiceClientType() reflect.Type

NotifyChannelServiceClientType .

func NotifyChannelServiceHandlerType

func NotifyChannelServiceHandlerType() reflect.Type

NotifyChannelServiceHandlerType .

func NotifyChannelServiceServerType

func NotifyChannelServiceServerType() reflect.Type

NotifyChannelServiceServerType .

func RegisterNotifyChannelServiceHandler

func RegisterNotifyChannelServiceHandler(r http.Router, srv NotifyChannelServiceHandler, opts ...http.HandleOption)

RegisterNotifyChannelServiceHandler register NotifyChannelServiceHandler to http.Router.

func RegisterNotifyChannelServiceImp

func RegisterNotifyChannelServiceImp(regester transport.Register, srv NotifyChannelServiceServer, opts ...transport.ServiceOption)

RegisterNotifyChannelServiceImp channel.proto

func RegisterNotifyChannelServiceServer

func RegisterNotifyChannelServiceServer(s grpc1.ServiceRegistrar, srv NotifyChannelServiceServer, opts ...grpc1.HandleOption)

func ServiceNames

func ServiceNames(svr ...string) []string

ServiceNames return all service names

func Types

func Types() []reflect.Type

Types

type CreateNotifyChannelRequest

type CreateNotifyChannelRequest struct {
	Name                string                     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type                string                     `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	ChannelProviderType string                     `protobuf:"bytes,3,opt,name=channelProviderType,proto3" json:"channelProviderType,omitempty"`
	Config              map[string]*structpb.Value `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateNotifyChannelRequest) Descriptor deprecated

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

Deprecated: Use CreateNotifyChannelRequest.ProtoReflect.Descriptor instead.

func (*CreateNotifyChannelRequest) GetChannelProviderType

func (x *CreateNotifyChannelRequest) GetChannelProviderType() string

func (*CreateNotifyChannelRequest) GetConfig

func (x *CreateNotifyChannelRequest) GetConfig() map[string]*structpb.Value

func (*CreateNotifyChannelRequest) GetName

func (x *CreateNotifyChannelRequest) GetName() string

func (*CreateNotifyChannelRequest) GetType

func (x *CreateNotifyChannelRequest) GetType() string

func (*CreateNotifyChannelRequest) MarshalJSON

func (m *CreateNotifyChannelRequest) MarshalJSON() ([]byte, error)

CreateNotifyChannelRequest implement json.Marshaler.

func (*CreateNotifyChannelRequest) ProtoMessage

func (*CreateNotifyChannelRequest) ProtoMessage()

func (*CreateNotifyChannelRequest) ProtoReflect

func (*CreateNotifyChannelRequest) Reset

func (x *CreateNotifyChannelRequest) Reset()

func (*CreateNotifyChannelRequest) String

func (x *CreateNotifyChannelRequest) String() string

func (*CreateNotifyChannelRequest) UnmarshalJSON

func (m *CreateNotifyChannelRequest) UnmarshalJSON(b []byte) error

CreateNotifyChannelRequest implement json.Marshaler.

func (*CreateNotifyChannelRequest) UnmarshalURLValues

func (m *CreateNotifyChannelRequest) UnmarshalURLValues(prefix string, values url.Values) error

CreateNotifyChannelRequest implement urlenc.URLValuesUnmarshaler.

func (*CreateNotifyChannelRequest) Validate

func (this *CreateNotifyChannelRequest) Validate() error

type CreateNotifyChannelResponse

type CreateNotifyChannelResponse struct {
	Data *NotifyChannel `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNotifyChannelResponse) Descriptor deprecated

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

Deprecated: Use CreateNotifyChannelResponse.ProtoReflect.Descriptor instead.

func (*CreateNotifyChannelResponse) GetData

func (*CreateNotifyChannelResponse) MarshalJSON

func (m *CreateNotifyChannelResponse) MarshalJSON() ([]byte, error)

CreateNotifyChannelResponse implement json.Marshaler.

func (*CreateNotifyChannelResponse) ProtoMessage

func (*CreateNotifyChannelResponse) ProtoMessage()

func (*CreateNotifyChannelResponse) ProtoReflect

func (*CreateNotifyChannelResponse) Reset

func (x *CreateNotifyChannelResponse) Reset()

func (*CreateNotifyChannelResponse) String

func (x *CreateNotifyChannelResponse) String() string

func (*CreateNotifyChannelResponse) UnmarshalJSON

func (m *CreateNotifyChannelResponse) UnmarshalJSON(b []byte) error

CreateNotifyChannelResponse implement json.Marshaler.

func (*CreateNotifyChannelResponse) UnmarshalURLValues

func (m *CreateNotifyChannelResponse) UnmarshalURLValues(prefix string, values url.Values) error

CreateNotifyChannelResponse implement urlenc.URLValuesUnmarshaler.

func (*CreateNotifyChannelResponse) Validate

func (this *CreateNotifyChannelResponse) Validate() error

type DeleteNotifyChannelRequest

type DeleteNotifyChannelRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNotifyChannelRequest) Descriptor deprecated

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

Deprecated: Use DeleteNotifyChannelRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotifyChannelRequest) GetId

func (*DeleteNotifyChannelRequest) MarshalJSON

func (m *DeleteNotifyChannelRequest) MarshalJSON() ([]byte, error)

DeleteNotifyChannelRequest implement json.Marshaler.

func (*DeleteNotifyChannelRequest) ProtoMessage

func (*DeleteNotifyChannelRequest) ProtoMessage()

func (*DeleteNotifyChannelRequest) ProtoReflect

func (*DeleteNotifyChannelRequest) Reset

func (x *DeleteNotifyChannelRequest) Reset()

func (*DeleteNotifyChannelRequest) String

func (x *DeleteNotifyChannelRequest) String() string

func (*DeleteNotifyChannelRequest) UnmarshalJSON

func (m *DeleteNotifyChannelRequest) UnmarshalJSON(b []byte) error

DeleteNotifyChannelRequest implement json.Marshaler.

func (*DeleteNotifyChannelRequest) UnmarshalURLValues

func (m *DeleteNotifyChannelRequest) UnmarshalURLValues(prefix string, values url.Values) error

DeleteNotifyChannelRequest implement urlenc.URLValuesUnmarshaler.

func (*DeleteNotifyChannelRequest) Validate

func (this *DeleteNotifyChannelRequest) Validate() error

type DeleteNotifyChannelResponse

type DeleteNotifyChannelResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNotifyChannelResponse) Descriptor deprecated

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

Deprecated: Use DeleteNotifyChannelResponse.ProtoReflect.Descriptor instead.

func (*DeleteNotifyChannelResponse) GetId

func (*DeleteNotifyChannelResponse) MarshalJSON

func (m *DeleteNotifyChannelResponse) MarshalJSON() ([]byte, error)

DeleteNotifyChannelResponse implement json.Marshaler.

func (*DeleteNotifyChannelResponse) ProtoMessage

func (*DeleteNotifyChannelResponse) ProtoMessage()

func (*DeleteNotifyChannelResponse) ProtoReflect

func (*DeleteNotifyChannelResponse) Reset

func (x *DeleteNotifyChannelResponse) Reset()

func (*DeleteNotifyChannelResponse) String

func (x *DeleteNotifyChannelResponse) String() string

func (*DeleteNotifyChannelResponse) UnmarshalJSON

func (m *DeleteNotifyChannelResponse) UnmarshalJSON(b []byte) error

DeleteNotifyChannelResponse implement json.Marshaler.

func (*DeleteNotifyChannelResponse) UnmarshalURLValues

func (m *DeleteNotifyChannelResponse) UnmarshalURLValues(prefix string, values url.Values) error

DeleteNotifyChannelResponse implement urlenc.URLValuesUnmarshaler.

func (*DeleteNotifyChannelResponse) Validate

func (this *DeleteNotifyChannelResponse) Validate() error

type GetNotifyChannelEnabledRequest

type GetNotifyChannelEnabledRequest struct {
	ScopeId   string `protobuf:"bytes,1,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	ScopeType string `protobuf:"bytes,2,opt,name=scopeType,proto3" json:"scopeType,omitempty"`
	Type      string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifyChannelEnabledRequest) Descriptor deprecated

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

Deprecated: Use GetNotifyChannelEnabledRequest.ProtoReflect.Descriptor instead.

func (*GetNotifyChannelEnabledRequest) GetScopeId

func (x *GetNotifyChannelEnabledRequest) GetScopeId() string

func (*GetNotifyChannelEnabledRequest) GetScopeType

func (x *GetNotifyChannelEnabledRequest) GetScopeType() string

func (*GetNotifyChannelEnabledRequest) GetType

func (*GetNotifyChannelEnabledRequest) MarshalJSON

func (m *GetNotifyChannelEnabledRequest) MarshalJSON() ([]byte, error)

GetNotifyChannelEnabledRequest implement json.Marshaler.

func (*GetNotifyChannelEnabledRequest) ProtoMessage

func (*GetNotifyChannelEnabledRequest) ProtoMessage()

func (*GetNotifyChannelEnabledRequest) ProtoReflect

func (*GetNotifyChannelEnabledRequest) Reset

func (x *GetNotifyChannelEnabledRequest) Reset()

func (*GetNotifyChannelEnabledRequest) String

func (*GetNotifyChannelEnabledRequest) UnmarshalJSON

func (m *GetNotifyChannelEnabledRequest) UnmarshalJSON(b []byte) error

GetNotifyChannelEnabledRequest implement json.Marshaler.

func (*GetNotifyChannelEnabledRequest) UnmarshalURLValues

func (m *GetNotifyChannelEnabledRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyChannelEnabledRequest implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyChannelEnabledRequest) Validate

func (this *GetNotifyChannelEnabledRequest) Validate() error

type GetNotifyChannelEnabledResponse

type GetNotifyChannelEnabledResponse struct {
	Data *NotifyChannel `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifyChannelEnabledResponse) Descriptor deprecated

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

Deprecated: Use GetNotifyChannelEnabledResponse.ProtoReflect.Descriptor instead.

func (*GetNotifyChannelEnabledResponse) GetData

func (*GetNotifyChannelEnabledResponse) MarshalJSON

func (m *GetNotifyChannelEnabledResponse) MarshalJSON() ([]byte, error)

GetNotifyChannelEnabledResponse implement json.Marshaler.

func (*GetNotifyChannelEnabledResponse) ProtoMessage

func (*GetNotifyChannelEnabledResponse) ProtoMessage()

func (*GetNotifyChannelEnabledResponse) ProtoReflect

func (*GetNotifyChannelEnabledResponse) Reset

func (*GetNotifyChannelEnabledResponse) String

func (*GetNotifyChannelEnabledResponse) UnmarshalJSON

func (m *GetNotifyChannelEnabledResponse) UnmarshalJSON(b []byte) error

GetNotifyChannelEnabledResponse implement json.Marshaler.

func (*GetNotifyChannelEnabledResponse) UnmarshalURLValues

func (m *GetNotifyChannelEnabledResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyChannelEnabledResponse implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyChannelEnabledResponse) Validate

func (this *GetNotifyChannelEnabledResponse) Validate() error

type GetNotifyChannelRequest

type GetNotifyChannelRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifyChannelRequest) Descriptor deprecated

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

Deprecated: Use GetNotifyChannelRequest.ProtoReflect.Descriptor instead.

func (*GetNotifyChannelRequest) GetId

func (x *GetNotifyChannelRequest) GetId() string

func (*GetNotifyChannelRequest) MarshalJSON

func (m *GetNotifyChannelRequest) MarshalJSON() ([]byte, error)

GetNotifyChannelRequest implement json.Marshaler.

func (*GetNotifyChannelRequest) ProtoMessage

func (*GetNotifyChannelRequest) ProtoMessage()

func (*GetNotifyChannelRequest) ProtoReflect

func (x *GetNotifyChannelRequest) ProtoReflect() protoreflect.Message

func (*GetNotifyChannelRequest) Reset

func (x *GetNotifyChannelRequest) Reset()

func (*GetNotifyChannelRequest) String

func (x *GetNotifyChannelRequest) String() string

func (*GetNotifyChannelRequest) UnmarshalJSON

func (m *GetNotifyChannelRequest) UnmarshalJSON(b []byte) error

GetNotifyChannelRequest implement json.Marshaler.

func (*GetNotifyChannelRequest) UnmarshalURLValues

func (m *GetNotifyChannelRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyChannelRequest implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyChannelRequest) Validate

func (this *GetNotifyChannelRequest) Validate() error

type GetNotifyChannelResponse

type GetNotifyChannelResponse struct {
	Data *NotifyChannel `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifyChannelResponse) Descriptor deprecated

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

Deprecated: Use GetNotifyChannelResponse.ProtoReflect.Descriptor instead.

func (*GetNotifyChannelResponse) GetData

func (*GetNotifyChannelResponse) MarshalJSON

func (m *GetNotifyChannelResponse) MarshalJSON() ([]byte, error)

GetNotifyChannelResponse implement json.Marshaler.

func (*GetNotifyChannelResponse) ProtoMessage

func (*GetNotifyChannelResponse) ProtoMessage()

func (*GetNotifyChannelResponse) ProtoReflect

func (x *GetNotifyChannelResponse) ProtoReflect() protoreflect.Message

func (*GetNotifyChannelResponse) Reset

func (x *GetNotifyChannelResponse) Reset()

func (*GetNotifyChannelResponse) String

func (x *GetNotifyChannelResponse) String() string

func (*GetNotifyChannelResponse) UnmarshalJSON

func (m *GetNotifyChannelResponse) UnmarshalJSON(b []byte) error

GetNotifyChannelResponse implement json.Marshaler.

func (*GetNotifyChannelResponse) UnmarshalURLValues

func (m *GetNotifyChannelResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyChannelResponse implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyChannelResponse) Validate

func (this *GetNotifyChannelResponse) Validate() error

type GetNotifyChannelTypesRequest

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

func (*GetNotifyChannelTypesRequest) Descriptor deprecated

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

Deprecated: Use GetNotifyChannelTypesRequest.ProtoReflect.Descriptor instead.

func (*GetNotifyChannelTypesRequest) MarshalJSON

func (m *GetNotifyChannelTypesRequest) MarshalJSON() ([]byte, error)

GetNotifyChannelTypesRequest implement json.Marshaler.

func (*GetNotifyChannelTypesRequest) ProtoMessage

func (*GetNotifyChannelTypesRequest) ProtoMessage()

func (*GetNotifyChannelTypesRequest) ProtoReflect

func (*GetNotifyChannelTypesRequest) Reset

func (x *GetNotifyChannelTypesRequest) Reset()

func (*GetNotifyChannelTypesRequest) String

func (*GetNotifyChannelTypesRequest) UnmarshalJSON

func (m *GetNotifyChannelTypesRequest) UnmarshalJSON(b []byte) error

GetNotifyChannelTypesRequest implement json.Marshaler.

func (*GetNotifyChannelTypesRequest) UnmarshalURLValues

func (m *GetNotifyChannelTypesRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyChannelTypesRequest implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyChannelTypesRequest) Validate

func (this *GetNotifyChannelTypesRequest) Validate() error

type GetNotifyChannelTypesResponse

type GetNotifyChannelTypesResponse struct {
	Data []*NotifyChannelTypeResponse `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifyChannelTypesResponse) Descriptor deprecated

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

Deprecated: Use GetNotifyChannelTypesResponse.ProtoReflect.Descriptor instead.

func (*GetNotifyChannelTypesResponse) GetData

func (*GetNotifyChannelTypesResponse) MarshalJSON

func (m *GetNotifyChannelTypesResponse) MarshalJSON() ([]byte, error)

GetNotifyChannelTypesResponse implement json.Marshaler.

func (*GetNotifyChannelTypesResponse) ProtoMessage

func (*GetNotifyChannelTypesResponse) ProtoMessage()

func (*GetNotifyChannelTypesResponse) ProtoReflect

func (*GetNotifyChannelTypesResponse) Reset

func (x *GetNotifyChannelTypesResponse) Reset()

func (*GetNotifyChannelTypesResponse) String

func (*GetNotifyChannelTypesResponse) UnmarshalJSON

func (m *GetNotifyChannelTypesResponse) UnmarshalJSON(b []byte) error

GetNotifyChannelTypesResponse implement json.Marshaler.

func (*GetNotifyChannelTypesResponse) UnmarshalURLValues

func (m *GetNotifyChannelTypesResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyChannelTypesResponse implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyChannelTypesResponse) Validate

func (this *GetNotifyChannelTypesResponse) Validate() error

type GetNotifyChannelsRequest

type GetNotifyChannelsRequest struct {
	PageNo   int64 `protobuf:"varint,1,opt,name=pageNo,proto3" json:"pageNo,omitempty"`
	PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifyChannelsRequest) Descriptor deprecated

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

Deprecated: Use GetNotifyChannelsRequest.ProtoReflect.Descriptor instead.

func (*GetNotifyChannelsRequest) GetPageNo

func (x *GetNotifyChannelsRequest) GetPageNo() int64

func (*GetNotifyChannelsRequest) GetPageSize

func (x *GetNotifyChannelsRequest) GetPageSize() int64

func (*GetNotifyChannelsRequest) MarshalJSON

func (m *GetNotifyChannelsRequest) MarshalJSON() ([]byte, error)

GetNotifyChannelsRequest implement json.Marshaler.

func (*GetNotifyChannelsRequest) ProtoMessage

func (*GetNotifyChannelsRequest) ProtoMessage()

func (*GetNotifyChannelsRequest) ProtoReflect

func (x *GetNotifyChannelsRequest) ProtoReflect() protoreflect.Message

func (*GetNotifyChannelsRequest) Reset

func (x *GetNotifyChannelsRequest) Reset()

func (*GetNotifyChannelsRequest) String

func (x *GetNotifyChannelsRequest) String() string

func (*GetNotifyChannelsRequest) UnmarshalJSON

func (m *GetNotifyChannelsRequest) UnmarshalJSON(b []byte) error

GetNotifyChannelsRequest implement json.Marshaler.

func (*GetNotifyChannelsRequest) UnmarshalURLValues

func (m *GetNotifyChannelsRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyChannelsRequest implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyChannelsRequest) Validate

func (this *GetNotifyChannelsRequest) Validate() error

type GetNotifyChannelsResponse

type GetNotifyChannelsResponse struct {
	PageNo   int64            `protobuf:"varint,1,opt,name=pageNo,proto3" json:"pageNo,omitempty"`
	PageSize int64            `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Total    int64            `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Data     []*NotifyChannel `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifyChannelsResponse) Descriptor deprecated

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

Deprecated: Use GetNotifyChannelsResponse.ProtoReflect.Descriptor instead.

func (*GetNotifyChannelsResponse) GetData

func (x *GetNotifyChannelsResponse) GetData() []*NotifyChannel

func (*GetNotifyChannelsResponse) GetPageNo

func (x *GetNotifyChannelsResponse) GetPageNo() int64

func (*GetNotifyChannelsResponse) GetPageSize

func (x *GetNotifyChannelsResponse) GetPageSize() int64

func (*GetNotifyChannelsResponse) GetTotal

func (x *GetNotifyChannelsResponse) GetTotal() int64

func (*GetNotifyChannelsResponse) MarshalJSON

func (m *GetNotifyChannelsResponse) MarshalJSON() ([]byte, error)

GetNotifyChannelsResponse implement json.Marshaler.

func (*GetNotifyChannelsResponse) ProtoMessage

func (*GetNotifyChannelsResponse) ProtoMessage()

func (*GetNotifyChannelsResponse) ProtoReflect

func (*GetNotifyChannelsResponse) Reset

func (x *GetNotifyChannelsResponse) Reset()

func (*GetNotifyChannelsResponse) String

func (x *GetNotifyChannelsResponse) String() string

func (*GetNotifyChannelsResponse) UnmarshalJSON

func (m *GetNotifyChannelsResponse) UnmarshalJSON(b []byte) error

GetNotifyChannelsResponse implement json.Marshaler.

func (*GetNotifyChannelsResponse) UnmarshalURLValues

func (m *GetNotifyChannelsResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetNotifyChannelsResponse implement urlenc.URLValuesUnmarshaler.

func (*GetNotifyChannelsResponse) Validate

func (this *GetNotifyChannelsResponse) Validate() error

type NotifyChannel

type NotifyChannel struct {
	Id                  string                     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                string                     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type                *NotifyChannelType         `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Config              map[string]*structpb.Value `` /* 153-byte string literal not displayed */
	ScopeId             string                     `protobuf:"bytes,5,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	ScopeType           string                     `protobuf:"bytes,6,opt,name=scopeType,proto3" json:"scopeType,omitempty"`
	CreatorName         string                     `protobuf:"bytes,7,opt,name=creatorName,proto3" json:"creatorName,omitempty"`
	CreateAt            string                     `protobuf:"bytes,8,opt,name=createAt,proto3" json:"createAt,omitempty"`
	UpdateAt            string                     `protobuf:"bytes,9,opt,name=updateAt,proto3" json:"updateAt,omitempty"`
	ChannelProviderType *NotifyChannelProviderType `protobuf:"bytes,10,opt,name=channelProviderType,proto3" json:"channelProviderType,omitempty"`
	Enable              bool                       `protobuf:"varint,11,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyChannel) Descriptor deprecated

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

Deprecated: Use NotifyChannel.ProtoReflect.Descriptor instead.

func (*NotifyChannel) GetChannelProviderType

func (x *NotifyChannel) GetChannelProviderType() *NotifyChannelProviderType

func (*NotifyChannel) GetConfig

func (x *NotifyChannel) GetConfig() map[string]*structpb.Value

func (*NotifyChannel) GetCreateAt

func (x *NotifyChannel) GetCreateAt() string

func (*NotifyChannel) GetCreatorName

func (x *NotifyChannel) GetCreatorName() string

func (*NotifyChannel) GetEnable

func (x *NotifyChannel) GetEnable() bool

func (*NotifyChannel) GetId

func (x *NotifyChannel) GetId() string

func (*NotifyChannel) GetName

func (x *NotifyChannel) GetName() string

func (*NotifyChannel) GetScopeId

func (x *NotifyChannel) GetScopeId() string

func (*NotifyChannel) GetScopeType

func (x *NotifyChannel) GetScopeType() string

func (*NotifyChannel) GetType

func (x *NotifyChannel) GetType() *NotifyChannelType

func (*NotifyChannel) GetUpdateAt

func (x *NotifyChannel) GetUpdateAt() string

func (*NotifyChannel) MarshalJSON

func (m *NotifyChannel) MarshalJSON() ([]byte, error)

NotifyChannel implement json.Marshaler.

func (*NotifyChannel) ProtoMessage

func (*NotifyChannel) ProtoMessage()

func (*NotifyChannel) ProtoReflect

func (x *NotifyChannel) ProtoReflect() protoreflect.Message

func (*NotifyChannel) Reset

func (x *NotifyChannel) Reset()

func (*NotifyChannel) String

func (x *NotifyChannel) String() string

func (*NotifyChannel) UnmarshalJSON

func (m *NotifyChannel) UnmarshalJSON(b []byte) error

NotifyChannel implement json.Marshaler.

func (*NotifyChannel) UnmarshalURLValues

func (m *NotifyChannel) UnmarshalURLValues(prefix string, values url.Values) error

NotifyChannel implement urlenc.URLValuesUnmarshaler.

func (*NotifyChannel) Validate

func (this *NotifyChannel) Validate() error

type NotifyChannelProviderType

type NotifyChannelProviderType struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyChannelProviderType) Descriptor deprecated

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

Deprecated: Use NotifyChannelProviderType.ProtoReflect.Descriptor instead.

func (*NotifyChannelProviderType) GetDisplayName

func (x *NotifyChannelProviderType) GetDisplayName() string

func (*NotifyChannelProviderType) GetName

func (x *NotifyChannelProviderType) GetName() string

func (*NotifyChannelProviderType) MarshalJSON

func (m *NotifyChannelProviderType) MarshalJSON() ([]byte, error)

NotifyChannelProviderType implement json.Marshaler.

func (*NotifyChannelProviderType) ProtoMessage

func (*NotifyChannelProviderType) ProtoMessage()

func (*NotifyChannelProviderType) ProtoReflect

func (*NotifyChannelProviderType) Reset

func (x *NotifyChannelProviderType) Reset()

func (*NotifyChannelProviderType) String

func (x *NotifyChannelProviderType) String() string

func (*NotifyChannelProviderType) UnmarshalJSON

func (m *NotifyChannelProviderType) UnmarshalJSON(b []byte) error

NotifyChannelProviderType implement json.Marshaler.

func (*NotifyChannelProviderType) UnmarshalURLValues

func (m *NotifyChannelProviderType) UnmarshalURLValues(prefix string, values url.Values) error

NotifyChannelProviderType implement urlenc.URLValuesUnmarshaler.

func (*NotifyChannelProviderType) Validate

func (this *NotifyChannelProviderType) Validate() error

type NotifyChannelServiceClient

NotifyChannelServiceClient is the client API for NotifyChannelService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type NotifyChannelServiceHandler

type NotifyChannelServiceHandler interface {
	// POST /api/notify-channel
	CreateNotifyChannel(context.Context, *CreateNotifyChannelRequest) (*CreateNotifyChannelResponse, error)
	// GET /api/notify-channels
	GetNotifyChannels(context.Context, *GetNotifyChannelsRequest) (*GetNotifyChannelsResponse, error)
	// PUT /api/notify-channel
	UpdateNotifyChannel(context.Context, *UpdateNotifyChannelRequest) (*UpdateNotifyChannelResponse, error)
	// GET /api/notify-channel
	GetNotifyChannel(context.Context, *GetNotifyChannelRequest) (*GetNotifyChannelResponse, error)
	// DELETE /api/notify-channel
	DeleteNotifyChannel(context.Context, *DeleteNotifyChannelRequest) (*DeleteNotifyChannelResponse, error)
	// GET /api/notify-channel/types
	GetNotifyChannelTypes(context.Context, *GetNotifyChannelTypesRequest) (*GetNotifyChannelTypesResponse, error)
	// GET /api/notify-channel/enabled
	GetNotifyChannelEnabled(context.Context, *GetNotifyChannelEnabledRequest) (*GetNotifyChannelEnabledResponse, error)
	// PUT /api/notify-channel/enabled
	UpdateNotifyChannelEnabled(context.Context, *UpdateNotifyChannelEnabledRequest) (*UpdateNotifyChannelEnabledResponse, error)
}

NotifyChannelServiceHandler is the server API for NotifyChannelService service.

type NotifyChannelServiceServer

NotifyChannelServiceServer is the server API for NotifyChannelService service. All implementations should embed UnimplementedNotifyChannelServiceServer for forward compatibility

type NotifyChannelType

type NotifyChannelType struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyChannelType) Descriptor deprecated

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

Deprecated: Use NotifyChannelType.ProtoReflect.Descriptor instead.

func (*NotifyChannelType) GetDisplayName

func (x *NotifyChannelType) GetDisplayName() string

func (*NotifyChannelType) GetName

func (x *NotifyChannelType) GetName() string

func (*NotifyChannelType) MarshalJSON

func (m *NotifyChannelType) MarshalJSON() ([]byte, error)

NotifyChannelType implement json.Marshaler.

func (*NotifyChannelType) ProtoMessage

func (*NotifyChannelType) ProtoMessage()

func (*NotifyChannelType) ProtoReflect

func (x *NotifyChannelType) ProtoReflect() protoreflect.Message

func (*NotifyChannelType) Reset

func (x *NotifyChannelType) Reset()

func (*NotifyChannelType) String

func (x *NotifyChannelType) String() string

func (*NotifyChannelType) UnmarshalJSON

func (m *NotifyChannelType) UnmarshalJSON(b []byte) error

NotifyChannelType implement json.Marshaler.

func (*NotifyChannelType) UnmarshalURLValues

func (m *NotifyChannelType) UnmarshalURLValues(prefix string, values url.Values) error

NotifyChannelType implement urlenc.URLValuesUnmarshaler.

func (*NotifyChannelType) Validate

func (this *NotifyChannelType) Validate() error

type NotifyChannelTypeResponse

type NotifyChannelTypeResponse struct {
	Name        string                       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName string                       `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`
	Providers   []*NotifyChannelProviderType `protobuf:"bytes,3,rep,name=providers,proto3" json:"providers,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifyChannelTypeResponse) Descriptor deprecated

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

Deprecated: Use NotifyChannelTypeResponse.ProtoReflect.Descriptor instead.

func (*NotifyChannelTypeResponse) GetDisplayName

func (x *NotifyChannelTypeResponse) GetDisplayName() string

func (*NotifyChannelTypeResponse) GetName

func (x *NotifyChannelTypeResponse) GetName() string

func (*NotifyChannelTypeResponse) GetProviders

func (*NotifyChannelTypeResponse) MarshalJSON

func (m *NotifyChannelTypeResponse) MarshalJSON() ([]byte, error)

NotifyChannelTypeResponse implement json.Marshaler.

func (*NotifyChannelTypeResponse) ProtoMessage

func (*NotifyChannelTypeResponse) ProtoMessage()

func (*NotifyChannelTypeResponse) ProtoReflect

func (*NotifyChannelTypeResponse) Reset

func (x *NotifyChannelTypeResponse) Reset()

func (*NotifyChannelTypeResponse) String

func (x *NotifyChannelTypeResponse) String() string

func (*NotifyChannelTypeResponse) UnmarshalJSON

func (m *NotifyChannelTypeResponse) UnmarshalJSON(b []byte) error

NotifyChannelTypeResponse implement json.Marshaler.

func (*NotifyChannelTypeResponse) UnmarshalURLValues

func (m *NotifyChannelTypeResponse) UnmarshalURLValues(prefix string, values url.Values) error

NotifyChannelTypeResponse implement urlenc.URLValuesUnmarshaler.

func (*NotifyChannelTypeResponse) Validate

func (this *NotifyChannelTypeResponse) Validate() error

type ProviderType

type ProviderType int32

channel service provider type

const (
	ProviderType_ALIYUN_SMS ProviderType = 0
)

func (ProviderType) Descriptor

func (ProviderType) Enum

func (x ProviderType) Enum() *ProviderType

func (ProviderType) EnumDescriptor deprecated

func (ProviderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProviderType.Descriptor instead.

func (ProviderType) Number

func (ProviderType) String

func (x ProviderType) String() string

func (ProviderType) Type

type Type

type Type int32

channel type

const (
	Type_SHORT_MESSAGE Type = 0
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

type UnimplementedNotifyChannelServiceServer

type UnimplementedNotifyChannelServiceServer struct {
}

UnimplementedNotifyChannelServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedNotifyChannelServiceServer) CreateNotifyChannel

func (*UnimplementedNotifyChannelServiceServer) DeleteNotifyChannel

func (*UnimplementedNotifyChannelServiceServer) GetNotifyChannel

func (*UnimplementedNotifyChannelServiceServer) GetNotifyChannelEnabled

func (*UnimplementedNotifyChannelServiceServer) GetNotifyChannelTypes

func (*UnimplementedNotifyChannelServiceServer) GetNotifyChannels

func (*UnimplementedNotifyChannelServiceServer) UpdateNotifyChannel

type UpdateNotifyChannelEnabledRequest

type UpdateNotifyChannelEnabledRequest struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Enable bool   `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNotifyChannelEnabledRequest) Descriptor deprecated

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

Deprecated: Use UpdateNotifyChannelEnabledRequest.ProtoReflect.Descriptor instead.

func (*UpdateNotifyChannelEnabledRequest) GetEnable

func (x *UpdateNotifyChannelEnabledRequest) GetEnable() bool

func (*UpdateNotifyChannelEnabledRequest) GetId

func (*UpdateNotifyChannelEnabledRequest) MarshalJSON

func (m *UpdateNotifyChannelEnabledRequest) MarshalJSON() ([]byte, error)

UpdateNotifyChannelEnabledRequest implement json.Marshaler.

func (*UpdateNotifyChannelEnabledRequest) ProtoMessage

func (*UpdateNotifyChannelEnabledRequest) ProtoMessage()

func (*UpdateNotifyChannelEnabledRequest) ProtoReflect

func (*UpdateNotifyChannelEnabledRequest) Reset

func (*UpdateNotifyChannelEnabledRequest) String

func (*UpdateNotifyChannelEnabledRequest) UnmarshalJSON

func (m *UpdateNotifyChannelEnabledRequest) UnmarshalJSON(b []byte) error

UpdateNotifyChannelEnabledRequest implement json.Marshaler.

func (*UpdateNotifyChannelEnabledRequest) UnmarshalURLValues

func (m *UpdateNotifyChannelEnabledRequest) UnmarshalURLValues(prefix string, values url.Values) error

UpdateNotifyChannelEnabledRequest implement urlenc.URLValuesUnmarshaler.

func (*UpdateNotifyChannelEnabledRequest) Validate

func (this *UpdateNotifyChannelEnabledRequest) Validate() error

type UpdateNotifyChannelEnabledResponse

type UpdateNotifyChannelEnabledResponse struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Enable bool   `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNotifyChannelEnabledResponse) Descriptor deprecated

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

Deprecated: Use UpdateNotifyChannelEnabledResponse.ProtoReflect.Descriptor instead.

func (*UpdateNotifyChannelEnabledResponse) GetEnable

func (*UpdateNotifyChannelEnabledResponse) GetId

func (*UpdateNotifyChannelEnabledResponse) MarshalJSON

func (m *UpdateNotifyChannelEnabledResponse) MarshalJSON() ([]byte, error)

UpdateNotifyChannelEnabledResponse implement json.Marshaler.

func (*UpdateNotifyChannelEnabledResponse) ProtoMessage

func (*UpdateNotifyChannelEnabledResponse) ProtoMessage()

func (*UpdateNotifyChannelEnabledResponse) ProtoReflect

func (*UpdateNotifyChannelEnabledResponse) Reset

func (*UpdateNotifyChannelEnabledResponse) String

func (*UpdateNotifyChannelEnabledResponse) UnmarshalJSON

func (m *UpdateNotifyChannelEnabledResponse) UnmarshalJSON(b []byte) error

UpdateNotifyChannelEnabledResponse implement json.Marshaler.

func (*UpdateNotifyChannelEnabledResponse) UnmarshalURLValues

func (m *UpdateNotifyChannelEnabledResponse) UnmarshalURLValues(prefix string, values url.Values) error

UpdateNotifyChannelEnabledResponse implement urlenc.URLValuesUnmarshaler.

func (*UpdateNotifyChannelEnabledResponse) Validate

func (this *UpdateNotifyChannelEnabledResponse) Validate() error

type UpdateNotifyChannelRequest

type UpdateNotifyChannelRequest struct {
	Id                  string                     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                string                     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type                string                     `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	ChannelProviderType string                     `protobuf:"bytes,4,opt,name=channelProviderType,proto3" json:"channelProviderType,omitempty"`
	Enable              string                     `protobuf:"bytes,5,opt,name=enable,proto3" json:"enable,omitempty"`
	Config              map[string]*structpb.Value `` /* 153-byte string literal not displayed */
	ScopeId             string                     `protobuf:"bytes,7,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	ScopeType           string                     `protobuf:"bytes,8,opt,name=scopeType,proto3" json:"scopeType,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNotifyChannelRequest) Descriptor deprecated

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

Deprecated: Use UpdateNotifyChannelRequest.ProtoReflect.Descriptor instead.

func (*UpdateNotifyChannelRequest) GetChannelProviderType

func (x *UpdateNotifyChannelRequest) GetChannelProviderType() string

func (*UpdateNotifyChannelRequest) GetConfig

func (x *UpdateNotifyChannelRequest) GetConfig() map[string]*structpb.Value

func (*UpdateNotifyChannelRequest) GetEnable

func (x *UpdateNotifyChannelRequest) GetEnable() string

func (*UpdateNotifyChannelRequest) GetId

func (*UpdateNotifyChannelRequest) GetName

func (x *UpdateNotifyChannelRequest) GetName() string

func (*UpdateNotifyChannelRequest) GetScopeId

func (x *UpdateNotifyChannelRequest) GetScopeId() string

func (*UpdateNotifyChannelRequest) GetScopeType

func (x *UpdateNotifyChannelRequest) GetScopeType() string

func (*UpdateNotifyChannelRequest) GetType

func (x *UpdateNotifyChannelRequest) GetType() string

func (*UpdateNotifyChannelRequest) MarshalJSON

func (m *UpdateNotifyChannelRequest) MarshalJSON() ([]byte, error)

UpdateNotifyChannelRequest implement json.Marshaler.

func (*UpdateNotifyChannelRequest) ProtoMessage

func (*UpdateNotifyChannelRequest) ProtoMessage()

func (*UpdateNotifyChannelRequest) ProtoReflect

func (*UpdateNotifyChannelRequest) Reset

func (x *UpdateNotifyChannelRequest) Reset()

func (*UpdateNotifyChannelRequest) String

func (x *UpdateNotifyChannelRequest) String() string

func (*UpdateNotifyChannelRequest) UnmarshalJSON

func (m *UpdateNotifyChannelRequest) UnmarshalJSON(b []byte) error

UpdateNotifyChannelRequest implement json.Marshaler.

func (*UpdateNotifyChannelRequest) UnmarshalURLValues

func (m *UpdateNotifyChannelRequest) UnmarshalURLValues(prefix string, values url.Values) error

UpdateNotifyChannelRequest implement urlenc.URLValuesUnmarshaler.

func (*UpdateNotifyChannelRequest) Validate

func (this *UpdateNotifyChannelRequest) Validate() error

type UpdateNotifyChannelResponse

type UpdateNotifyChannelResponse struct {
	Data *NotifyChannel `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNotifyChannelResponse) Descriptor deprecated

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

Deprecated: Use UpdateNotifyChannelResponse.ProtoReflect.Descriptor instead.

func (*UpdateNotifyChannelResponse) GetData

func (*UpdateNotifyChannelResponse) MarshalJSON

func (m *UpdateNotifyChannelResponse) MarshalJSON() ([]byte, error)

UpdateNotifyChannelResponse implement json.Marshaler.

func (*UpdateNotifyChannelResponse) ProtoMessage

func (*UpdateNotifyChannelResponse) ProtoMessage()

func (*UpdateNotifyChannelResponse) ProtoReflect

func (*UpdateNotifyChannelResponse) Reset

func (x *UpdateNotifyChannelResponse) Reset()

func (*UpdateNotifyChannelResponse) String

func (x *UpdateNotifyChannelResponse) String() string

func (*UpdateNotifyChannelResponse) UnmarshalJSON

func (m *UpdateNotifyChannelResponse) UnmarshalJSON(b []byte) error

UpdateNotifyChannelResponse implement json.Marshaler.

func (*UpdateNotifyChannelResponse) UnmarshalURLValues

func (m *UpdateNotifyChannelResponse) UnmarshalURLValues(prefix string, values url.Values) error

UpdateNotifyChannelResponse implement urlenc.URLValuesUnmarshaler.

func (*UpdateNotifyChannelResponse) Validate

func (this *UpdateNotifyChannelResponse) Validate() error

Jump to

Keyboard shortcuts

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