Documentation ¶ Index ¶ type Service func New(c *conf.Config, rpcdaos *service.RPCDaos) *Service func (s *Service) Pre(c context.Context, mid int64) (PrePay map[string]interface{}, err error) func (s *Service) Protocol(c context.Context, protocolID string) (pd *faqMdl.Detail, err error) func (s *Service) White(c context.Context, mid int64) (white bool, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { // contains filtered or unexported fields } Service struct func New ¶ func New(c *conf.Config, rpcdaos *service.RPCDaos) *Service New get service func (*Service) Pre ¶ func (s *Service) Pre(c context.Context, mid int64) (PrePay map[string]interface{}, err error) Pre fn func (*Service) Protocol ¶ func (s *Service) Protocol(c context.Context, protocolID string) (pd *faqMdl.Detail, err error) Protocol fn func (*Service) White ¶ func (s *Service) White(c context.Context, mid int64) (white bool, err error) White fn Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.