Skip to content

Commit

Permalink
chore: remove unused config method
Browse files Browse the repository at this point in the history
  • Loading branch information
ravisuhag committed Jul 1, 2023
1 parent 5e119fb commit e78d2ee
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ type GRPCConfig struct {
MaxSendMsgSize int `mapstructure:"max_send_msg_size" default:"33554432"`
}

func (cfg Config) grpcAddr() string { return fmt.Sprintf("%s:%d", cfg.Host, cfg.GRPC.Port) }

type Config struct {
Host string `mapstructure:"host" yaml:"host" default:"localhost"`
Port int `mapstructure:"port" yaml:"port" default:"8080"`
Expand Down

0 comments on commit e78d2ee

Please sign in to comment.